package org.dromara.work.domain.bo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.work.domain.SgjBeianReply;

/**
 * Author Chen
 * CreateTime 2024/1/15 10:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SgjBeianReply.class, reverseConvertGenerate = false)
public class SgjBeianReplySaveBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;


    /**
     * 业务id
     */
    @NotBlank(message = "业务id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ywid;


    /**
     * 名字
     */
    @NotBlank(message = "名字不能为空", groups = { AddGroup.class, EditGroup.class })
    private String currentName;


    /**
     * 审核状态
     */
    @NotBlank(message = "审核状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String state;

    /**
     * 审核意见
     */
    private String approvalMsg;

    /**
     * 备案名称
     */
    private String recordName;

    /**
     * 批准部门
     */
    private String approval;







}
